package com.app.server.impl;

import com.app.mapper.RecordFileMapper;
import com.app.model.RecordFileModel;
import com.app.server.RecordFileService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RecordFileServiceImpl extends ServiceImpl<RecordFileMapper, RecordFileModel> implements RecordFileService {
    @Autowired
    private RecordFileMapper recordFileMapper;

    @Override
    public List<RecordFileModel> selectList(QueryWrapper<RecordFileModel> queryWrapper1) {
        return recordFileMapper.selectList(queryWrapper1);
    }

    @Override
    public Integer insert(RecordFileModel complainUrlModel) {
        return recordFileMapper.insert(complainUrlModel);
    }
}
